//
//  WLNetWorkRequestManager.h
//  EPA
//
//  Created by lanou3g on 16/4/15.
//  Copyright © 2016年 王玲. All rights reserved.
//

#import <Foundation/Foundation.h>

//定义枚举
typedef NS_ENUM(NSInteger) {
    WL_GET,
    WL_POST
}URLRequestMethod;

//定义返回值Block网络请求结果
typedef void(^ResultBlock)(NSData *data,NSURLResponse *response,NSError *error);


@interface WLNetWorkRequestManager : NSObject

//请求方法
+(void)requestURL:(NSURL *)url Method:(URLRequestMethod )method Params:(NSDictionary *)param Result:(ResultBlock )resultBlock;

@end
